package com.ilas.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 注册用户(BizUser)实体类
 *
 * @author bob
 * @since 2020-09-19 17:31:20
 */
@Data
public class BizUser {
    private static final long serialVersionUID = 551289276292424626L;

    private Long id;

    private String username;

    private String name;

    private String password;

    private Integer age;

    private String gender;

    private String cardType;

    private String cardNum;

    private String birthday;

    private String phone;

    private String email;

    private String education;

    private String province;

    private String city;

    private String district;

    private String address;

    private String avatarName;

    private String avatarPath;

    private String status;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date registerTime;

    private String registerType;

    private String lastLoginIp;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastLoginTime;

    private Integer loginNum;

    private String openid;

}
